projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2952435
)
d/tests/python3-gi: Explicitly return GLib.SOURCE_REMOVE
author
Simon McVittie
<smcv@debian.org>
Sun, 15 Sep 2019 14:27:08 +0000
(15:27 +0100)
committer
Simon McVittie
<smcv@debian.org>
Sun, 15 Sep 2019 14:27:08 +0000
(15:27 +0100)
Implicitly returning None is OK, but explicit is better than implicit.
debian/tests/python3-gi
patch
|
blob
|
history
diff --git
a/debian/tests/python3-gi
b/debian/tests/python3-gi
index 2c2c4d276944bff9f04770b1ce90cbf1afce569c..85a914c46b71156b47a90200a1058197c14d26f7 100644
(file)
--- a/
debian/tests/python3-gi
+++ b/
debian/tests/python3-gi
@@
-6,6
+6,7
@@
from gi.repository import GLib, Gtk
def do_quit(user_data):
Gtk.main_quit()
+ return GLib.SOURCE_REMOVE
dialog = Gtk.Dialog()
dialog.set_title('Test dialog')